home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: mxsld2.pd.infn.it!LORETI
- From: loreti@mxsld2.pd.infn.it (Maurizio Loreti)
- Subject: Re: Big and little endians
- X-Nntp-Posting-Host: mxsld2.pd.infn.it
- Message-ID: <Dn47AB.JAq@news.cern.ch>
- Sender: news@news.cern.ch (USENET News System)
- Reply-To: loreti@mxsld2.pd.infn.it
- Organization: I.N.F.N. Padova - CDF/CMS VAXcluster
- References: <4fuuqq$fpp@due.unit.no>
- Date: Wed, 21 Feb 1996 07:25:21 GMT
-
- In article <4fuuqq$fpp@due.unit.no>, Vidar Moe <vidarm@ibt.unit.no> writes:
- >What exactly is meant by the terms little-endians and
- >big-endians?
- >
- >Vidar Moe.
-
- From the 'jargon file', prep.ai.mit.edu:pub/gnu/jarg320.txt.gz:
-
- :big-endian: adj. [From Swift's "Gulliver's Travels" via
- the famous paper "On Holy Wars and a Plea for Peace" by Danny
- Cohen, USC/ISI IEN 137, dated April 1, 1980] 1. Describes a
- computer architecture in which, within a given multi-byte numeric
- representation, the most significant byte has the lowest address
- (the word is stored `big-end-first'). Most processors,
- including the IBM 370 family, the {PDP-10}, the Motorola
- microprocessor families, and most of the various RISC designs
- current in mid-1993, are big-endian. See {little-endian},
- {middle-endian}, {NUXI problem}, {swab}. 2. An
- {{Internet address}} the wrong way round. Most of the world
- follows the Internet standard and writes email addresses starting
- with the name of the computer and ending up with the name of the
- country. In the U.K. the Joint Networking Team had decided to do
- it the other way round before the Internet domain standard was
- established; e.g., me@uk.ac.wigan.cs. Most gateway sites have
- {ad-hockery} in their mailers to handle this, but can still be
- confused. In particular, the address above could be in the U.K.
- (domain uk) or the domain cs (formerly, Czechoslovakia).
-
- :little-endian: adj. Describes a computer architecture in
- which, within a given 16- or 32-bit word, bytes at lower addresses
- have lower significance (the word is stored `little-end-first').
- The PDP-11 and VAX families of computers and Intel microprocessors
- and a lot of communications and networking hardware are
- little-endian. See {big-endian}, {middle-endian}, {NUXI
- problem}. The term is sometimes used to describe the ordering of
- units other than bytes; most often, bits within a byte.
-
- :middle-endian: adj. Not {big-endian} or
- {little-endian}. Used of perverse byte orders such as 3-4-1-2
- or 2-1-4-3, occasionally found in the packed-decimal formats of
- minicomputer manufacturers who shall remain nameless. See {NUXI
- problem}. Non-US hackers use this term to describe the American
- mm/dd/yy style of writing dates.
-
- --
- Maurizio Loreti http://mvxpd5.pd.infn.it/wwwcdf/mlo.html
- Un. of Padova, Dept. of Physics - Padova, Italy loreti@padova.infn.it
-